package com.syq.dao;

import com.syq.entity.Address;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.dao
 * @description: ${TODO}
 * @date 2022/6/24 14:12
 */
@Mapper

public interface AddressDao {
    List<Address> selectByUid(Integer uid);

    void insert(Address address);

    void delete(int id);

    void update(Address address);

    void updateLevel(@Param("id") int id, @Param("uid") int uid);

    Address selectById(int aid);

    void updateLevel0(int uid);
}
